package lgy.kunpeng.homework;

import java.util.Scanner;

public class op06 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.print("请输入直角三角形的行数：");
        int lin = input.nextInt();
        for(int j=1;j<=lin;j++) {
            for (int i = (lin-j); i > 0; i--) {
                System.out.print(" ");
            }
            for(int q=0;q<(2*j-1);q++){
                System.out.print("*");
            }
            System.out.println("");
        }
    }
}
